import request from '../request.js'

// 回收员登录
function login(data) {
	return request({
		url: '/recycle/login',
		method: 'POST',
		data
	})
}

// 回收员登出
function logout(data) {
	return request({
		url: '/recycle/logout',
		method: 'POST',
		data
	})
}

// 用户登录
function userLogin(data) {
	return request({
		url: '/user/login',
		method: 'POST',
		data
	})
}

// 微信认证
function userWeixinAuth(data) {
	return request({
		url: '/user/weixinAuth',
		method: 'POST',
		data
	})
}

export default {
	login,
	logout,
	userLogin,
	userWeixinAuth
}